package com.laboratory.util.collection;

import java.util.HashSet;
import java.util.Set;

public class A {

	public int hasCode(){return 1;}
	public boolean equals(Object o){return true;}
	public static void main(String [] args){
		Set set=new HashSet();
		set.add(new A());
		set.add(new A());set.add(new A());
		System.out.println(set.size());
	}
}
